package com.neusoft.chanceserver.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 机会购买关系表
 * </p>
 *
 * @author liuxp
 * @since 2021-07-12
 */
public class ChancePurchase implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 机会购买关系编号
     */
    @TableId(value = "chance_purchase_id", type = IdType.AUTO)
    private Integer chancePurchaseId;

    /**
     * 机会编号
     */
    private Integer chanceId;

    /**
     * 购买人编号
     */
    private Integer purchaseId;


    public Integer getChancePurchaseId() {
        return chancePurchaseId;
    }

    public void setChancePurchaseId(Integer chancePurchaseId) {
        this.chancePurchaseId = chancePurchaseId;
    }

    public Integer getChanceId() {
        return chanceId;
    }

    public void setChanceId(Integer chanceId) {
        this.chanceId = chanceId;
    }

    public Integer getPurchaseId() {
        return purchaseId;
    }

    public void setPurchaseId(Integer purchaseId) {
        this.purchaseId = purchaseId;
    }

    @Override
    public String toString() {
        return "ChancePurchase{" +
        "chancePurchaseId=" + chancePurchaseId +
        ", chanceId=" + chanceId +
        ", purchaseId=" + purchaseId +
        "}";
    }
}
